package com.you.swagger.service.impl;

import com.you.swagger.entity.UserInfo;
import com.you.swagger.service.IUserService;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class IUserServiceImpl implements IUserService {

    @Override
    public UserInfo findUserInfoByUserId(String userId) {
        // 模拟返回用户信息
        UserInfo userInfo = new UserInfo();
        userInfo.setUserId(userId);
        userInfo.setUserName("测试用户!");
        userInfo.setAge(20);
        userInfo.setBirthDay(new Date());
        return userInfo;
    }
}
